﻿using Smobiler.Core;
using Smobiler.Core.Controls;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using FubiManger.UI;

namespace FubiManger.Controls
{
    ////ToolboxItem用于控制是否添加自定义控件到工具箱，true添加，false不添加
    //[System.ComponentModel.ToolboxItem(true)]
    partial class diskfoodcontrol : Smobiler.Core.Controls.MobileUserControl
    {
        public diskfoodcontrol() : base()
        {
            //This call is required by the SmobilerUserControl.
            InitializeComponent();
        }
        /// <summary>
        /// 下单
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnfood_Press(object sender, EventArgs e)
        {

            OrderfoodForm frm = new OrderfoodForm();
            frm.merchantid = lblmerchantid.Text;
            frm.adminid = lbladminid.Text;
            frm.diskname = lbldiskname.Text;
            this.Form.Show(frm);
        }

        private void panel1_LongPress(object sender, EventArgs e)
        {

        }
    }
}